fspc(opt->errlog,"warning"); fprintf(opt->errlog,"File seems complete (same size), but there was a cache read error: %s%s"LF,back[i].url_adr,back[i].url_fil); test_flush;
}
}
}
}
}
// Various hacks to limit re-transfers when updating a mirror
if (opt->sizehack) {
// We have request for a partial file (with a 'Range: NNN-' header)
// and received a complete file notification (200), with 'Content-length: NNN'
// it might be possible that we had the complete file
// this is the case in *most* cases, so break the connection
if (back[i].r.is_write==0) { // mode mΘmoire
if (back[i].r.adr==NULL) { // rien n'a ΘtΘ Θcrit
if (!back[i].testmode) { // pas mode test
if (strnotempty(back[i].url_sav)) {
if (strcmp(back[i].url_fil,"/robots.txt")) {
if (back[i].r.statuscode==200) { // 'OK'
if (!is_hypertext_mime(back[i].r.contenttype)) { // pas HTML
if (back[i].r.statuscode==200) { // "OK"
if (back[i].range_req_size>0) { // but Range: requested
if (back[i].range_req_size == back[i].r.totalsize) { // And same size